﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PageDetail.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Template.Web.PageDetail" ValidateRequest="False" %>



<%@ Import Namespace ="ZLCMS.Business" %>
<%@ Register src="~/SystemManage/Control/JFileControl.ascx" tagname="JFileControl" tagprefix="jfc" %>

<%@ Register src="~/SystemManage/Control/SinglePictureControl.ascx" tagname="SinglePictureControl" tagprefix="uc1" %>

<form id="pageForm" method="post" runat="Server" class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);" action="/SystemManage/Template/Web/PageDetail.aspx">

    
<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
	<div class="tabs">
		<div class="tabsHeader">
			<div class="tabsHeaderContent">
				<ul>
						<li class="selected"><a href="javascript:void(0)"><span>基本信息</span></a></li>
						<li><a href="javascript:void(0)"><span>模板内容</span></a></li>
				</ul>
			</div>
		</div>
		<div class="tabsContent" style="background-color: #FFFFFF" layoutH="90">
		
		
        <div>
                <dl class="nowrap">
            <dt>页面名称：</dt>
            <dd><asp:textbox id="name" runat="server"/></dd>
        </dl>
        
        <dl class="nowrap">
            <dt>效果图：</dt>
            <dd>
                <uc1:SinglePictureControl ID="previewurl" runat="server" />
                    </dd>
        </dl>

        <dl class="nowrap">
            <dt>排序：</dt>
            <dd><asp:textbox id="sort" runat="server"/></dd>
        </dl>


        <dl class="nowrap">
            <dt>页面类型：</dt>
            <dd>
            <asp:dropdownlist runat="server" id="kind" class="combox">
            </asp:dropdownlist>
            </dd>
        </dl>
        
        <dl class="nowrap">
            <dt>页面等级：</dt>
            <dd>
            <asp:dropdownlist runat="server" id="level" class="combox">
            </asp:dropdownlist>
            </dd>
        </dl>

<%--        <dl class="nowrap">
            <dt>文章类型：</dt>
            <dd>
            <asp:dropdownlist runat="server" id="doc_kind" class="combox">
            </asp:dropdownlist>
            </dd>
        </dl>
        --%>
        
        <dl class="nowrap">
            <dt>下级页面：</dt>
            <dd>
            <asp:dropdownlist runat="server" id="nextpage" class="combox">
            </asp:dropdownlist>
            </dd>
        </dl>

        <dl class="nowrap">
            <dt>说明：</dt>
            <dd>

                <asp:textbox runat="server" ID="memo" Rows="5" TextMode="MultiLine" 
                    Width="550px"></asp:textbox>
            </dd>
        </dl>

        

        <dl class="nowrap">
            <dt>小图：</dt>
            <dd>
                <uc1:SinglePictureControl ID="thumburl" runat="server" />
                    </dd>
        </dl>

        

        <dl class="nowrap">
            <dt>Banner：</dt>
            <dd>
                <uc1:SinglePictureControl ID="imgurl" runat="server" />
                  </dd>
        </dl>

        </div>
        <div>
        
        <dl class="nowrap list">
            <dt>页面模板：</dt>
            <dd>
                   
            <textarea id="template1" rows="20" cols="60" style="width: 100%; height: 300px;"  runat="Server">
                    &nbsp;
            </textarea>
          </dd>
        </dl>
        

        </div>
		</div>
		<div class="tabsFooter">
			<div class="tabsFooterContent"></div>
		</div>
	</div>

	</div>
		
    <div class="formBar">
    <input id="submit_op" name="submit_op" type="hidden" />
	    <ul>
			<li>
	        <div class="buttonActive"><div class="buttonContent"><button onclick="$('#submit_op', navTab.getCurrentPanel()).val('0');" type="submit">保存</button></div></div>
            </li>

			<li>
		    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
			</li>

            <li>&nbsp;&nbsp;</li>
			<li>
            <a height="600" close="selectPageCallback" width="650" minable="false" maxable="false" mask="true" max="false" title="预设页面" rel="SetPageDialog" target="dialog" href="/SystemManage/Template/SetPageDialog.aspx" class="button" ><span>导入</span></a>
            </li>
		</ul>
</div>
</div>

</form>


<script type="text/javascript">
    function selectPageCallback() {
        if (dialogResult != '') {
            navTab.reload('/SystemManage/Template/Web/PageDetail.aspx', { navTabId: 'PageDetail', data: { tabid: 'PageDetail', tid: '<%=Request["tid"] %>', uid: '<%=Request["uid"] %>', pid: dialogResult} });
        }
        return true;
    }
</script>